home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / comm / te2_130t.zip / TE2INST.003 / ChDirScr.doc < prev    next >
Text File  |  1994-03-28  |  2KB  |  45 lines

  1. Usage Notes for:
  2.  
  3. ChDir.scr -- TE/2 Script Language Script File
  4.              Copyright (C) 1991 Oberon Software, Mankato, MN
  5.  
  6.              Permission is granted to registered TE/2 users to use this
  7.              script without restriction.  If you modify this script and
  8.              subsequently redistribute it, please note the modifications
  9.              in the comment area.  If you do redistribute this this
  10.              script you must also provide the accompanying CHDIRSCR.DOC.
  11.  
  12. Author: Brady Flowers
  13. Date:   2 June, 1991
  14.  
  15. This script will present the user with a dialog box which will display
  16. the Current Working Directory and prompt for a new directory.  If the
  17. new path contains a drive indicator, the drive is changed also.  The
  18. response is saved in a global buffer so that it is available for edit
  19. on the next invocation.
  20.  
  21. Note that this script uses the System-Global variables DLogNormAttr,
  22. DLogEdAttr, and DLogEdHiAttr to make the coloring of the dialog and
  23. its edit field consistant with the dialogs in the rest of TE/2.
  24.  
  25. To install this script, copy it into the directory containing all of
  26. your TE/2 script files (the "ScriptPath" setting from TE2.INI).
  27.  
  28. To invoke this script from TE/2 terminal mode type Alt-/ and, at the
  29. "Command:" prompt type "call chdir".  Better still, attach it to a
  30. function key!  Do this by following the steps below.
  31.  
  32. For example, to attach this script to the key Alt-F12, you would follow
  33. these steps:
  34.  
  35.          1. Press Alt-K to get the function key menu
  36.          2. Move the highlight to "Alt" and press ENTER
  37.          3. Move the highlight to "F12"
  38.          4. Type "!call chdir" and press ENTER, the first menu reappears
  39.          5. Move the highlight to "Save" and press ENTER
  40.          6. Press ESCape to exit this menu
  41.  
  42. From this point on, any time you press Alt-F12 while in terminal mode,
  43. this script will be automatically executed.
  44.  
  45.